home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir31 / ttdoc152.zip / CHAPT1.DOC next >
Text File  |  1992-11-12  |  11KB  |  220 lines

  1. CHAPTER 1: WHAT TINYTALK DOES AND WHY IT DOES IT
  2.  
  3. This chapter describes the facilities that Tinytalk gives you in your quest
  4. to make your computer talk.  To understand how to use these facilities, you
  5. need to know a little about how application programs use the screen
  6. display, so we're going to talk about this and introduce some concepts that
  7. we'll define in more depth later on.  If windows, video attributes and
  8. lightbars don't make any sense to you yet, read on!
  9.  
  10.               SECTION 1: HOW PROGRAMS ORGANIZE THEIR DISPLAYS
  11.  
  12. Modern application programs don't treat the screen like a scroll of paper
  13. with new text coming in at the bottom; they consider it a "page" made up of
  14. several sections.  This means that making a program talk isn't simply a
  15. matter of "speaking anything that's written to the screen"; you also have
  16. to know how the program uses the screen.  For example, when you're entering
  17. or editing text in WordPerfect, the screen has two sections.  The first 24
  18. lines show the text you're editing, and the bottom line shows a status
  19. display.
  20.  
  21. We refer to these sections of the screen as "windows."  A window is an area
  22. of the screen that a program uses differently from the rest of the screen. 
  23. These areas are always rectangular; they are defined by the row and column
  24. coordinates of their top left and bottom right corners.  In the above
  25. example, the text display is a window with a top left corner at line 1,
  26. column 1 and a bottom right corner at line 24, column 80.  The status line
  27. is a window from line 25, column 1 to line 25, column 80.
  28.  
  29. Programs often, but not always, visually mark the boundaries of their own
  30. windows.  One way of doing this is to draw a box around the window using
  31. line-drawing and corner "block graphics" characters.  Another way is to use
  32. different video attributes for different windows.  Video attributes are
  33. properties of displayed characters such as foreground color, background
  34. color, brightness, underlining and blinking.  For example, a program might
  35. display a window in a different color from the rest of the screen.  
  36.  
  37. A program can do many different things with a window.  It can display
  38. status information or instructions that seldom change (the second window in
  39. WordPerfect is an example of this).  It can display a "lightbar menu,"
  40. which is a list of options arranged either horizontally or vertically.  One
  41. of the options is "highlighted," which means that it has different video
  42. attributes from the rest of the options; for example, the foreground and
  43. background colors might be reversed.  When you press cursor keys, the
  44. highlight moves from one option to another; that's why it's called a
  45. lightbar.  
  46.  
  47. A window may display text that scrolls in and out of the area when you use
  48. the cursor keys.  The main text window in WordPerfect is an example of this
  49. kind of window.  Programs often have "pop-up windows" which are boxed-in
  50. areas of the screen that contain messages, menus or prompts.  These are
  51. often used together with lightbar menus.  For example, many programs have a
  52. horizontal lightbar menu on the top line of the screen.  When you select an
  53. option, a box with a vertical lightbar menu pops up underneath the
  54. highlighted option.  Many programs will pop up "message boxes" when you
  55. perform some action.  Pop-up windows can appear pretty much anywhere on the
  56. screen, unlike fixed windows such as the ones we talked about in
  57. WordPerfect. 
  58.  
  59. Another common feature of full-screen programs is what we call "data entry
  60. screens."  These are on-screen "forms" that consist of prompts followed by
  61. highlighted areas.  You "fill in the form" by typing text into the
  62. highlighted area, and move between fields (a field is a prompt/value area
  63. combination) by using the cursor keys, tab key and ENTER key).
  64.  
  65. Most programs write characters directly to the screen instead of using the
  66. rather slow and inflexible routines built into the computer's operating
  67. system.  This means that a speech program can't just speak line-at-a-time
  68. DOS output; it has to analyze the screen and read the changes in a way that
  69. makes sense to the user.  Tinytalk provides a comprehensive set of
  70. facilities for doing this.  Some of them work nearly automatically; with
  71. others, you need to tell Tinytalk something about how the program is using
  72. the screen.
  73.  
  74. Most commercial application programs won't fully talk "right out of the
  75. box"; you'll have to do some configuring to make them talk the way you want
  76. them to.  Most DOS-prompt commands and simple utility programs will talk
  77. without any setup.
  78.  
  79.                 SECTION 2: APPLICATION MODE AND REVIEW MODE
  80.  
  81. When you're using Tinytalk, you're always in one of two modes.  Most of the
  82. time you'll be in application mode, where you're running application
  83. programs or giving commands at the DOS prompt.  In this mode, Tinytalk is
  84. sitting in the background, watching the screen and your keystrokes and
  85. sending screen output to your synthesizer.  Tinytalk always starts off in
  86. application mode.
  87.  
  88. When you need to communicate with Tinytalk directly, for example to tell it
  89. what parts of the screen you want it to read, you go into review mode (by
  90. pressing a special "hot key").  In review mode, Tinytalk puts the program
  91. you're running "on hold" and takes over the keyboard.  You can issue
  92. commands to your synthesizer, move the cursor around to explore the screen
  93. without interfering with the program you're running, and much more.  Once
  94. you've done what you wanted to do, you can leave review mode and return to
  95. your application.
  96.  
  97. SECTION 3: AN OVERVIEW OF TINYTALK'S FACILITIES
  98.  
  99. IMMEDIATE OUTPUT
  100.  
  101. All screen output sent through DOS or BIOS routines will be spoken as it
  102. occurs.  You can turn this off completely, or you can set portions of the
  103. screen to be silent.
  104.  
  105. USER-DEFINED PUNCTUATION
  106.  
  107. You can tell Tinytalk what, if any, punctuation characters to read.  You
  108. can have different punctuation groups for reading versus typing, and for
  109. review mode versus application mode.  You can tell Tinytalk how to
  110. pronounce each punctuation character.
  111.  
  112. KEYBOARD ECHO
  113.  
  114. You can have your keystrokes spoken as words, as letters or not at all. 
  115. Tinytalk can announce any changes in "lock states" like caps lock.
  116.  
  117. AUTOMATIC CLEARING
  118.  
  119. Tinytalk will automatically clear any unfinished speech when you move the
  120. cursor or when a window gets read.  You can choose whether or not regular
  121. keystrokes should clear speech.
  122.  
  123. CURSOR TRACKING
  124.  
  125. When you move the cursor in a program, you can hear the text that it's
  126. moving over.  You will hear characters that you delete with either the
  127. backspace or delete keys.  You can specify how much text you want to hear.
  128.  
  129. REMAPPABLE HOT KEYS
  130.  
  131. You can read important parts of the screen from within an application
  132. without going into review mode.  You can pick what keystrokes you want to
  133. use as hot keys, and you can define your own hot keys to change Tinytalk's
  134. settings without having to go into review mode.
  135.  
  136. REVIEW AND CONTROL MODE
  137.  
  138. Tinytalk has a comprehensive screen review mode for moving around the
  139. screen without disturbing an application program.  In this mode, you can
  140. also control synthesizer characteristic like pitch and speed, set up areas
  141. of the screen to be monitored automatically and set various options for
  142. Tinytalk itself.
  143.  
  144. AUTOMATIC WINDOW READING
  145.  
  146. You can have windows spoken automatically when they change.  You can tell
  147. Tinytalk both when to speak them and how to speak them.
  148.  
  149. MODELESS REVIEW
  150.  
  151. Tinytalk provides an "independent cursor" that you can use to review the
  152. screen while you're in an application program without having to go into
  153. review mode.
  154.  
  155. CONTINUOUS DOCUMENT READING
  156.  
  157. When you're running a word processor or text editor, you can have Tinytalk
  158. scroll through your entire document and read it to you.  If you're using a
  159. synthesizer that supports indexing (see Chapter 3, Section 4), Tinytalk
  160. will keep the speech from getting too far ahead of the cursor, so that you
  161. can stop reading and then pick up where you left off.
  162.  
  163. TEXT HIGHLIGHTING
  164.  
  165. Tinytalk can highlight words or lines on the screen as it's reading them.
  166.  
  167. MULTIPLE CONFIGURATIONS WITH AUTOMATIC LOADING
  168.  
  169. Tinytalk can store up to 30 configurations (window definitions, mode
  170. settings and voice characteristics) in memory.  You can switch from one
  171. configuration to another with a few keystrokes, or you can have Tinytalk
  172. automatically switch you to the correct configuration when you run a
  173. program.  You can have separate configurations for individual screens
  174. within a program, and Tinytalk can automatically switch between them based
  175. on the presence of identifying text on the screen.
  176.  
  177. FORM FILLING
  178.  
  179. Many programs have "fill-in-the-form" data entry screens made up of prompts
  180. and highlighted entry fields; you move between the fields with the cursor
  181. keys.  Tinytalk will let you hear each prompt and field value as you move
  182. to it, even when there are several fields on the same line.
  183.  
  184. KEY LABELLING
  185.  
  186. You can tell Tinytalk to say a word or phrase of your choice whenever you
  187. hit a certain key.  You can have separate groups of key labels for each
  188. application program you use.
  189.  
  190.  
  191. VIDEO ATTRIBUTE ANNOUNCEMENT
  192.  
  193. If you want, Tinytalk can announce changes in video attributes when reading
  194. text from the screen.  As you'll recall, programs often use attributes to
  195. distinguish between sections of the screen.  Word processors also use them
  196. to symbolize print characteristics like bold-facing and underlining.  You
  197. can give names to attribute combinations; for example, you could have
  198. yellow-on-blue text (which symbolizes italics in WordPerfect) announced as
  199. "italic."
  200.  
  201. MISCELLANEOUS
  202.  
  203. Tinytalk provides several other features for making application programs
  204. easier to work with; you'll learn more about these later on.  It can
  205. automatically read column headings or titles as you move around a
  206. spreadsheet or database browse screen; buzz at you if you accidentally hold
  207. down the shift key and type a letter while you have caps lock on; ring a
  208. bell when you enter text past a right margin you define or click the
  209. speaker whenever the cursor passes over a video attribute that you select.
  210.  
  211. If an application displays a long line of punctuation characters, Tinytalk
  212. will read only the first two if the rest are identical.  Tinytalk will
  213. spell out any word that doesn't contain a vowel and can be told to spell
  214. out "words" that have digits as well as letters (such as ham calls).  If
  215. your synthesizer supports number processing, Tinytalk can use it when
  216. saying "words" that contain only digits.
  217.  
  218. Tinytalk supports the 43 and 50-line screen displays that are available
  219. with EGA and VGA video cards.
  220.